WPDiscourse\SSOClient\Client A

Total Complexity 67
Dependencies 3
Dependents 1
Total lines 495
Lines of code 304
Logical lines of code 180
Comment lines 109
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
get_user_id()
A
43 10 49
get_sso_response()
S
53 7 23
parse_request()
S
55 7 20
logout_from_discourse()
S
50 6 28
handle_login_errors()
S
51 6 28
discourse_sso_alter_user_profile()
S
51 6 26
set_user_notice()
S
51 5 28
update_user()
S
51 5 26
auth_user()
S
55 3 19
discourse_sso_alter_login_form()
S
59 2 16
get_sso_signature()
S
74 2 4
discourse_sso_auto_inject_button()
S
77 2 3
get_sso_secret()
S
80 1 3
__construct()
S
63 1 10
get_redirect_to_after_sso()
S
80 1 3
handle_errors()
S
63 1 10
is_valid_signature()
S
74 1 4
redirect_to()
S
77 1 4